home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload Trio 2 / Shareware Overload Trio Volume 2 (Chestnut CD-ROM).ISO / dir41 / x10xa200.zip / XA.INI < prev    next >
Text File  |  1993-10-16  |  8KB  |  174 lines

  1. DISPLAY OFF             # Don't need to display this on the screen
  2.  
  3. #
  4. #  ┌─────────────────────────────────────────────────────────────────┐
  5. #  │                                                                 │
  6. #  │   XA - X10 Command Interpreter for the CP-290 - Version 2.00    │
  7. #  │   Copyright 1992-93 by Bruce Christensen. All Rights Reserved.  │
  8. #  │                                                                 │
  9. #  │   XA.INI - This file contains information that defines XA's     │ 
  10. #  │            run-time environment parameters.                     │
  11. #  │                                                                 │
  12. #  └─────────────────────────────────────────────────────────────────┘
  13. #
  14. #──────────────────────────────────────────────────────────────────────────────
  15. #
  16. #       XACMD           Use this token to specify the default command file
  17. #                       that XA will use each time it is run without command 
  18. #                       line parameters. 
  19. #
  20. #                       SPECIAL NOTE: If this token is not used, and no
  21. #                       command file is specified, XA will display the
  22. #                       help file instead. This is the default condition.
  23. #                       
  24.  
  25. # XACMD XA.CMD          # XACMD has been "commented out"
  26.  
  27.  
  28. #
  29. #──────────────────────────────────────────────────────────────────────────────
  30. #
  31. #       COMx            The serial communications port you will be using
  32. #                       to talk to the computer interface.
  33. #                       Choices: COM1 (default), COM2, COM3, and COM4.
  34.  
  35. COM1
  36.  
  37. #       IRQ x           Use these tokens if your serial port is not configured
  38. #       IO  xxxH        as a "standard" port. The following table lists the
  39. #                       most common assignments for IRQ's and IO port 
  40. #                       addresses:
  41. #                               COM     IRQ     IO
  42. #                               ==========================
  43. #                                1       4      3F8H (hex)
  44. #                                2       3      2F8H
  45. #                                3       4 *    3E8H
  46. #                                4       3 *    2E8H   
  47. #
  48. #
  49. #                       Since COM1 and COM3 (as well as COM2 and COM4) share
  50. #                       the same IRQ's, a conflict will arise if active 
  51. #                       devices are attached to these ports. You must re-
  52. #                       assign IRQ's so to avoid a potential deadlock. A 
  53. #                       serial port may be reconfigured either during your
  54. #                       computers boot phase (BIOS setup/diagnostics) or
  55. #                       by changing a DIP switch on the serial card or PC
  56. #                       motherboard. When you changed the IRQ, tell XA by
  57. #                       using the IRQ x command.
  58. #
  59. #
  60. #                       Use the utility FINDX10.EXE to assist you in
  61. #                       determining the IRQ and IO values.
  62. #
  63. # IRQ 5
  64. #
  65. #──────────────────────────────────────────────────────────────────────────────
  66. #
  67. #       LATITUDE        You must use this command for accurate
  68. #                       sunrise/sunset calculations. Positive values
  69. #                       are used in the northern hemisphere, negative
  70. #                       values for the southern hemisphere.
  71. #       LONGITUDE       You must use this command for accurate
  72. #                       sunrise/sunset calculations. Positive values
  73. #                       are used west of Greenwich, negative
  74. #                       east of Greenwich.
  75. #                       These values may be obtained from almost any
  76. #                       almanac, or consult your nearest library.
  77. #                       For Mentor, OH:
  78. #                               Latitude  = 41°35'
  79. #                               Longitude = 81°20'
  80. #                        
  81. #                       These values must be expressed as follows:
  82. #                       41d35m and 81d20m (or 41°35' / 81°20')
  83.  
  84. LATITUDE  41°35'
  85. LONGITUDE 81°20'
  86.  
  87. #
  88. #──────────────────────────────────────────────────────────────────────────────
  89. #
  90. #       TIMEZONE        Exact time calculations depend on the local time.
  91. #                       Use the following chart to determine your timezone:
  92. #                                  Zone                   Use
  93. #                             ====================     =========
  94. #                             Eastern Standard Time:        5
  95. #                             Central Standard Time:        6
  96. #                             Mountain Standard Time:       7
  97. #                             Pacific Standard Time:        8
  98. #                             Alaska/Hawaii Std Time:      10
  99. #                             Aleutian Standard Time:      11
  100. #
  101. #       DST             Automatically adjust Sunrise/Sunset calculations.
  102. #                       Do not use this if your locality does not observe
  103. #                       Daylight Savings Time.
  104.  
  105. TIMEZONE 5 DST
  106.  
  107. #
  108. #──────────────────────────────────────────────────────────────────────────────
  109. #       VIDEO1 - Text attributes when IF/ELSE expression evaluates TRUE.
  110. #       VIDEO2 - Text attributes when IF/ELSE expression evaluates FALSE.
  111. #       VIDEO3 - Text attributes when executing DIRECT command.
  112. #       VIDEO4 - Text attributes when sending an EVENT.
  113.  
  114. # The following tokens are not activated for the SHAREWARE version...
  115.  
  116. # VIDEO1 GREEN BLACK         # For TRUE expressions
  117. # VIDEO2 RED BLACK           # For FALSE expressions
  118. # VIDEO3 CYAN BLACK          # For DIRECT COMMANDS
  119. # VIDEO4 CYAN BLACK          # For EVENTS
  120.  
  121. #──────────────────────────────────────────────────────────────────────────────
  122. #
  123. #       DEFINES         Are used to substitute several identifiers. 
  124. #                       They help make the commands more understandable. 
  125. #                       If you use the X10DAT token to create the X10.EXE 
  126. #                       compatible data file, then the order that HOUSE/UNIT
  127. #                       defines are listed here is the order in which they
  128. #                       will appear when you run X10.EXE.
  129.  
  130. define Deck_Lights_1            house a unit 1 
  131. define Entrance_Chandelier      house a unit 2
  132. define Bedroom_Light            house a unit 3 
  133. define Family_Room_Lamp         house a unit 4
  134. define Stairs                   house a unit 6
  135. define Fireplace_Mantle         house a unit 7
  136. define Living_Room_Lamp         house a unit 8
  137. define Outside_Porch_Lights     house a unit 9 
  138. define Dehumidifier             house b unit 2
  139. define Computer                 house c unit 1
  140. define Den                      house c unit 2
  141. define Phone                    house c unit 3
  142. define Hallway                  house h unit 1
  143.  
  144. #      Christmas Lights - each color connected to its own dimmer
  145. #      Note: You don't have to use HOUSE x UNIT y as shown above.
  146. #            That is only useful during monitoring and report generation. 
  147. #            You can perform simple substitution with just the letter/numbers:
  148.  
  149. DEFINE XMAS_RED                  E5
  150. DEFINE XMAS_GREEN                F5
  151. DEFINE XMAS_BLUE                 I5
  152. DEFINE XMAS_WHITE                H5
  153.  
  154. #       Other useful defines...
  155.  
  156. DEFINE DUSK SUNSET OFFSET 0:30
  157. DEFINE DAWN SUNRISE OFFSET -0:30
  158. DEFINE DAILY EVERYDAY
  159. DEFINE @ TIME
  160. DEFINE ~ SECURITY
  161. DEFINE FADE  DIM 0
  162. DEFINE BRIGHT DIM 100
  163. DEFINE SCHOOL_NIGHTS SUN MON TUE WED THU
  164.  
  165.  
  166. IGNORE DEHUMIDIFIER             # Ignore state during power-fail recovery
  167. IGNORE COMPUTER
  168.  
  169. DISPLAY ON                      # End of XA.INI. Turn display back on.
  170.  
  171.